package com.lagou.edu.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@Entity
@Table(name="lagou_auth_code")
public class Code {
    @Id
    private Long id; // 主键
    private String code; // 验证码
    private String email;
    private Timestamp createTime; // 工作年限
    private Timestamp expireTime; // 手机号

}